﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace DICOM_PROJECT.Controllers
{

    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            if(Request.IsAuthenticated)
            {
                return View("~/Views/" + User.UserType + "/Index.cshtml");
            }
            else
            {
                return View("_Login");
            }
        }
    }
}